import request from './config/request.js'

//健康计划-剩余日期查询
export function findremainingDate(params) {
	return request({
		url: '/api/choker/findHealthAlert',
		method: 'GET',
		data: params,
	});
}
//健康计划-计划新增
export function addhealth(params) {
	return request({
		url: '/api/choker/createHealthAlert',
		method: 'POST',
		data: params,
	});
}
// 健康计划-月查询
export function gethealthMonth(params) {
	return request({
		url: '/api/choker/findTimeHealthAlert',
		method: 'GET',
		data: params,
	});
}
// 健康计划-计划删除
export function deleteHealthAlert(params) {
	return request({
		url: '/api/choker/deleteHealthAlert',
		method: 'DELETE',
		data: params,
	});
}